<?php

$length = 16384;

$GLOBALS['str'] = "";
	
for($i=0; $i<$length; $i++){
	$GLOBALS['str'] .= chr($i % 256);
}

function getUTF8String(){
	return utf8_encode($GLOBALS['str']);
}

function sendUTF8String($val){
	return strcmp($GLOBALS['str'], utf8_decode($val));
}

function getString(){
	return "phpgwt rocks";
}

function sendString($val){
	return "phpgwt rocks" == $val;
}

?>
